var bridgeInfo = [{
    name: 'name',
    title: '桥梁名称',
    unit: '',
    required: true,
    dataType: 'string'
  },
  {
    name: 'structureTypeName',
    title: '结构类型',
    unit: '',
    required: false,
    dataType: 'enum'
  },
  {
    name: 'across',
    title: '跨数n',
    unit: '',
    required: false,
    dataType: 'digits'
  },
  {
    name: 'spanExpression',
    title: '跨径表达式',
    unit: '',
    required: true,
    dataType: 'string'
  },
  {
    name: 'len',
    title: '桥梁长度',
    unit: 'm',
    required: true,
    dataType: 'number'
  },
  {
    name: 'width',
    title: '桥梁宽度',
    unit: 'm',
    required: true,
    dataType: 'number'
  },
  {
    name: 'totalBeton',
    title: '混凝土',
    unit: 'm³',
    required: true,
    dataType: 'number'
  },
  {
    name: 'totalSteelStrand',
    title: '钢绞线',
    unit: 'kg',
    required: true,
    dataType: 'number'
  },
  {
    name: 'totalSteelBar',
    title: '普通钢筋',
    unit: 'kg',
    required: true,
    dataType: 'number'
  },
  {
    name: 'totalRolledSteel',
    title: '钢材',
    unit: 'kg',
    required: true,
    dataType: 'number'
  },
  {
    name: 'totalStayCable',
    title: '斜拉索',
    unit: 'kg',
    required: false,
    dataType: 'number'
  },
  {
    name: 'totalCableBoom',
    title: '主缆及吊杆',
    unit: 'kg',
    required: false,
    dataType: 'number'
  },
  {
    name: 'organization',
    title: '设计单位',
    unit: '',
    required: false,
    dataType: 'string'
  },
];

var bridgeIndex = [{
    name: 'avgBeton',
    title: '混凝土',
    unit: 'm³/㎡'
  },
  {
    name: 'avgSteelStrand',
    title: '钢绞线',
    unit: 'kg/㎡'
  },
  {
    name: 'avgSteelBar',
    title: '普通钢筋',
    unit: 'kg/㎡'
  },
  {
    name: 'avgRolledSteel',
    title: '钢材',
    unit: 'kg/㎡'
  },
  {
    name: 'avgStayCable',
    title: '斜拉索',
    unit: 'kg/㎡'
  },
  {
    name: 'avgCableBoom',
    title: '主缆及吊杆',
    unit: 'kg/㎡'
  }
];
var bridgeEfficiencyIndex = [{
    name: 'effiBeton',
    title: '混凝土',
    unit: 'm³/m³'
  },
  {
    name: 'effiSteelStrand',
    title: '钢绞线',
    unit: 'kg/m³'
  },
  {
    name: 'effiSteelBar',
    title: '普通钢筋',
    unit: 'kg/m³'
  },
  {
    name: 'effiRolledSteel',
    title: '钢材',
    unit: 'kg/m³'
  },
  {
    name: 'effiStayCable',
    title: '斜拉索',
    unit: 'kg/m³'
  },
  {
    name: 'effiCableBoom',
    title: '主缆及吊杆',
    unit: 'kg/m³'
  }
];

module.exports = {
  bridgeInfo: bridgeInfo,
  bridgeIndex: bridgeIndex,
  bridgeEfficiencyIndex: bridgeEfficiencyIndex
}